package com.ruoyi.project.system.inspectreport.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 检验报告对象 inspect_report
 * 
 * @author LCL
 * @date 2020-12-11
 */
public class InspectReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 检验报告 */
    @Excel(name = "检验报告")
    private String name;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 描述 */
    @Excel(name = "描述")
    private String notes;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    /** 主图 */
    @Excel(name = "主图")
    private String img1Url;

    /** 图片2访问路径 */
    @Excel(name = "图片2访问路径")
    private String img2Url;

    /** 图片3访问路径 */
    @Excel(name = "图片3访问路径")
    private String img3Url;

    /** 状态:0 禁用 1 启用 */
    @Excel(name = "状态:0 禁用 1 启用")
    private Integer status;

    /** 排序(正序) */
    @Excel(name = "排序(正序)")
    private Long sort;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setImg1Url(String img1Url) 
    {
        this.img1Url = img1Url;
    }

    public String getImg1Url() 
    {
        return img1Url;
    }
    public void setImg2Url(String img2Url) 
    {
        this.img2Url = img2Url;
    }

    public String getImg2Url() 
    {
        return img2Url;
    }
    public void setImg3Url(String img3Url) 
    {
        this.img3Url = img3Url;
    }

    public String getImg3Url() 
    {
        return img3Url;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("title", getTitle())
            .append("notes", getNotes())
            .append("created", getCreated())
            .append("img1Url", getImg1Url())
            .append("img2Url", getImg2Url())
            .append("img3Url", getImg3Url())
            .append("status", getStatus())
            .append("sort", getSort())
            .toString();
    }
}
